<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Keywords" th:attr="content=${keywords}" />
<meta name="Description" th:attr="content=${description}" />
<!-- TemplateBeginEditable name="doctitle" -->
<title></title>
<!-- TemplateEndEditable --><!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
<link rel="shortcut icon" href="favicon.ico" />
<link rel="icon" href="animated_favicon.gif" type="image/gif" />
<link th:href="${ecs_css_path}" rel="stylesheet" type="text/css" />

<!-- auto replace start-->
<script type="text/javascript" src="/static/js/1.11.3.min.js"></script>
<script type="text/javascript" src="/static/js/jquery.js"></script>
<script type="text/javascript" src="/static/js/on.js"></script>
<!-- auto replace end-->
<!-- auto replace start-->
<script type="text/javascript" src="/static/js/utils.js"></script>
<script type="text/javascript" src="/static/js/common.js"></script>
<script type="text/javascript" src="/static/js/global.js"></script>
<script type="text/javascript" src="/static/js/compare.js"></script>
<!-- auto replace end-->
</head>
<body>
<div th:replace="common/tpls/page_header_tpl::page_header"></div>
  <div th:replace="common/tpls/ur_here_tpl::ur_here"></div>
<div class="block clearfix">
  <!--left start-->
  <div class="AreaL">
    <!-- TemplateBeginEditable name="左边区域" -->
 
    <div th:replace="common/tpls/category_tree_tpl::category_tree"></div>
    <!-- TemplateEndEditable -->
    <!-- TemplateBeginEditable name="左边广告区域（宽200px）" -->
    <!-- TemplateEndEditable -->
    <!--AD end-->
    <div th:replace="common/tpls/history_tpl::history"></div>
  </div>
  <!--left end-->
  <!--right start-->
  <div class="AreaR">
  <!-- {if $action eq "form"} -->
  <!--  搜索的表单 -->
  <div class="box">
   <div class="box_1">
    <h3><span></span></h3>
    <div class="boxCenterList">
      <form action="search.php" method="get" name="advancedSearchForm" id="advancedSearchForm">
    <table border="0" align="center" cellpadding="3">
      <tr>
        <td valign="top">：</td>
        <td>
          <input name="keywords" id="keywords" type="text" size="40" maxlength="120" class="inputBg" value="" />
          <label for="sc_ds"><input type="checkbox" name="sc_ds" value="1" id="sc_ds"  /></label>
          <br />
        </td>
      </tr>
      <tr>
        <td>：</td>
        <td><select name="category" id="select" style="border:1px solid #ccc;">
            <option value="0"></option></select>
        </td>
      </tr>
      <tr>
        <td>：</td>
        <td><select name="brand" id="brand" style="border:1px solid #ccc;">
            <option value="0"></option>
            {html_options options=$brand_list selected=$adv_val.brand}
          </select>
        </td>
      </tr>
      <tr>
        <td>：</td>
        <td><input name="min_price" type="text" id="min_price" class="inputBg" value="" size="10" maxlength="8" />
          -
          <input name="max_price" type="text" id="max_price" class="inputBg" value="" size="10" maxlength="8" />
        </td>
      </tr>
      <!--{if $goods_type_list}-->
      <tr>
        <td>：</td>
        <td><select name="goods_type" onchange="this.form.submit()" style="border:1px solid #ccc;">
            <option value="0"></option>
            {html_options options=$goods_type_list selected=$goods_type_selected}
          </select>
        </td>
      </tr>
      <!--{/if}-->
      <!--{if $goods_type_selected > 0}-->
      <!--{foreach from=$goods_attributes item=item}-->
      <!--{if $item.type eq 1}-->
      <tr>
        <td>：</td>
        <td colspan="3"><input name="attr[]" value="" class="inputBg" type="text" size="20" maxlength="120" /></td>
      </tr>
      <!--{/if}-->
      <!--{if $item.type eq 2}-->
      <tr>
        <td>：</td>
        <td colspan="3"><input name="attr[][from]" class="inputBg" value="" type="text" size="5" maxlength="5" />
          -
          <input name="attr[][to]" value=""  class="inputBg" type="text" maxlength="5" /></td>
      </tr>
      <!--{/if}-->
      <!--{if $item.type eq 3}-->
      <tr>
        <td>：</td>
        <td colspan="3"><select name="attr[]" style="border:1px solid #ccc;">
            <option value="0"></option>
            {html_options options=$item.options selected=$item.value}
          </select></td>
      </tr>
      <!--{/if}-->
      <!--{/foreach}-->
      <!--{/if}-->

      <!-- {if $use_storage eq 1} -->
      <tr>
        <td>&nbsp;</td>
        <td><label for="outstock"><input type="checkbox" name="outstock" value="1" id="outstock" <!-- {if $outstock} -->checked="checked"<!--{/if}-->/> </label>
        </td>
      </tr>
      <!--{/if}-->

      <tr>
        <td colspan="4" align="center"><input type="hidden" name="action" value="form" />
          <input type="submit" name="Submit" class="bnt_blue_1" value="" /></td>
      </tr>
    </table>
  </form>
    </div>
   </div>
  </div>
  <div class="blank5"></div>
  <!-- {/if} -->

   <!-- {if isset($goods_list)} -->
     <div class="box">
     <div class="box_1">
     <ul class="goods_list">
    <!--标题及显示方式-->
        <!-- {if $intromode eq 'best'} -->
         <span></span>
         <!-- {elseif $intromode eq 'new'} -->
         <span></span>
         <!-- {elseif $intromode eq 'hot'} -->
         <span></span>
         <!-- {elseif $intromode eq 'promotion'} -->
         <span></span>
         <!-- {else} -->
         <span></span>
         <!-- {/if} -->
          <!--{if $goods_list}-->
          <form action="search.php" method="post" class="sort" name="listform" id="form">
         <li> ：</li>
         <li> <a href="javascript:;" onClick="javascript:display_mode('list')">
         <img src="/static/images/display_mode_list<!-- {if $pager.display == 'list'} -->_act<!-- {/if} -->.gif" th:attr="alt=${lang.display.list}"></a></li>
         <li> <a href="javascript:;" onClick="javascript:display_mode('grid')">
         <img src="/static/images/display_mode_grid<!-- {if $pager.display == 'grid'} -->_act<!-- {/if} -->.gif" th:attr="alt=${lang.display.grid}"></a></li>
         <li> <a href="javascript:;" onClick="javascript:display_mode('text')">
         <img src="/static/images/display_mode_text<!-- {if $pager.display == 'text'} -->_act<!-- {/if} -->.gif" th:attr="alt=${lang.display.text}"></a>&nbsp;&nbsp;</li>
             <li>  <select name="sort">
              {html_options options=$lang.sort selected=$pager.search.sort}
              </select></li>
              <li>
              <select name="order">
              {html_options options=$lang.order selected=$pager.search.order}
              </select>
              </li>
              <li><input type="image" name="imageField" src="/static/images/bnt_go.gif" alt="go"/></li>
             <li> <input type="hidden" name="page" value="" /></li>
             <li> <input type="hidden" name="display" value="" id="display" /></li>
              <!--{foreach from=$pager.search key=key item=item}-->
              {if $key neq "sort" and $key neq "order"}
                {if $key eq 'keywords'}
                  <input type="hidden" name="" value="" />
                {else}
                  <input type="hidden" name="" value="" />
                {/if}
              {/if}
              <!--{/foreach}-->
            </form>
          <!--{/if}-->
          </ul>
        <!--{if $goods_list}-->

          <form action="compare.php" method="post" name="compareForm" id="compareForm" onsubmit="return compareGoods(this);">
          <!-- {if $pager.display == 'list'} -->
              <div class="goodsList">
                <!--{foreach name=goods_list from=$goods_list item=goods}-->
                <!-- {if $goods.goods_id} -->
                <ul class="clearfix bgcolor"<!--{if $smarty.foreach.goods_list.index mod 2 eq 0}-->id=""<!--{else}-->id="bgcolor"<!--{/if}-->>
               
                <li class="thumb"><a th:href="${goods.url}"><img th:src="${goods.goods_thumb}" th:attr="alt=${goods.goods_name}" /></a></li>
                <li class="goodsName">
                <div class="div_name">
                <a th:href="${goods.url}" class="f6">
                    <!-- {if $goods.goods_style_name} -->
                    <br />
                    <!-- {else} -->
                    <br />
                    <!-- {/if} -->
                  </a>
                 <!-- {if $goods.goods_brief} -->
                <br />
                <!-- {/if} --> 
                </div>
                <div>
                 <a href="javascript:addToCart()" ><img src="/static/images/goumai.gif"></a>
    <a href="javascript:collect();"><img src="/static/images/shoucang.gif"></a>
    </div>
    
                </li>
              
             
               
                <li class="action">
                <!-- {if $show_marketprice} -->
                <font class="market"></font><br />
                <!-- {/if} -->
                <!--{if $goods.promote_price neq "" } -->
                <font class="shop"></font><br />
                <!--{else}-->
                <font class="shop"></font><br />
                <!--{/if}-->
                </li>
                </ul>
                <!--{/if}-->
                <!--{/foreach}-->
                </div>
             <!-- {elseif $pager.display == 'grid'} -->
         
              <div class="clearfix goodsBox" style="border:none; ">
                <!--{foreach from=$goods_list item=goods}-->
                <!-- {if $goods.goods_id} -->
                 <div class="goodsItem" style="padding: 10px 4px 15px 1px;">
                       <a th:href="${goods.url}"><img th:src="${goods.goods_thumb}" th:attr="alt=${goods.goods_name}" class="goodsimg" /></a><br />
                       <p><a th:href="${goods.url}" th:attr="title=${goods.name}"></a></p>
                       <!-- {if $show_marketprice} -->
                        <font class="market_s"></font><br />
                        <!-- {/if} -->
                        <!--{if $goods.promote_price neq "" } -->
                        <font class="shop_s"></font><br />
                        <!--{else}-->
                        <font class="shop_s"></font><br />
                        <!--{/if}-->
						
						<!-- 
                        <a href="javascript:addToCart()" ><img src="/static/images/goumai.gif"></a> &nbsp;&nbsp;&nbsp;&nbsp;
    <a href="javascript:collect();"><img src="/static/images/shoucang.gif"></a>
	-->
	
                    </div>
                <!--{/if}-->
                <!--{/foreach}-->
                </div>
               
             <!-- {elseif $pager.display == 'text'} -->
              <div class="goodsList">
              <!--{foreach from=$goods_list item=goods}-->
               <ul class="clearfix bgcolor"<!--{if $smarty.foreach.goods_list.index mod 2 eq 0}-->id=""<!--{else}-->id="bgcolor"<!--{/if}-->>
              <li style="margin-right:15px;">
              <a href="javascript:;" id="compareLink" onClick="Compare.add(,'','')" class="f6"></a>
              </li>
              <li class="goodsName">
               <div class="div_name">
              <a th:href="${goods.url}" class="f6 f5">
                  <!-- {if $goods.goods_style_name} -->
                  <br />
                  <!-- {else} -->
                  <br />
                  <!-- {/if} -->
                </a>
               <!-- {if $goods.goods_brief} -->
              <br />
              <!-- {/if} -->
              </div>
               <div>
              <a href="javascript:collect();" class="bnt_blue">加入收藏</a>
    <a href="javascript:addToCart()" class="bnt_blue">立即购买</a>
              </div>
              </li>
              <li>
              <!-- {if $show_marketprice} -->
              <font class="market"></font><br />
              <!-- {/if} -->
              <!--{if $goods.promote_price neq "" } -->
              <font class="shop"></font><br />
              <!--{else}-->
              <font class="shop"></font><br />
              <!--{/if}-->
              </li>
              <li class="action">
              
              </li>
              </ul>
              <!--{/foreach}-->
              </div>
             <!-- {/if} -->
          </form>
          <script type="text/javascript">
        {foreach from=$lang.compare_js item=item key=key}
        var  = "";
        {/foreach}

				{foreach from=$lang.compare_js item=item key=key}
        {if $key neq 'button_compare'}
        var  = "";
        {else}
        var button_compare = '';
        {/if}
        {/foreach}


        var compare_no_goods = "";
        window.onload = function()
        {
          Compare.init();
          fixpng();
        }
	var btn_buy = "";
	var is_cancel = "";
	var select_spe = "";
        </script>
        <!--{else}-->
        <div style="padding:20px 0px; text-align:center" class="f5" ></div>
        <!--{/if}-->
        </div>
      </div>
      <div class="blank"></div>
      <div th:replace="common/tpls/pages_tpl::pages"></div>
   <!-- {/if} -->

  </div>
  <!--right end-->
</div>

<div th:replace="common/tpls/page_footer_tpl::page_footer"></div>
</body>
</html>
